package com.ruoyi.answer.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 答疑对象 qt_answer
 * 
 * @author zqq
 * @date 2021-11-19
 */
public class QtAnswer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id  */
    private String answerId;

    /** 用户id */
    private String userId;

    /** 题库id */
    @Excel(name = "题库id")
    private String tkId;

    /** 时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date answerTime;

    /** 回复id(自连接) */
    @Excel(name = "回复id(自连接)")
    private String replyId;
    private String answerContent;
    /** $column.columnComment */
    private String answerStr;
    /** 用户姓名*/
    private String userName;

    /** 回复人姓名 */
    private String replyname;
    /** 题目 */
    private String tkName;
    /** $column.columnComment */
    private Long answerInt;
    /** 回复内容 */
    private String replyContent;
    private int answerState;
    private String maxTime;
    private String minTime;

    public String getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(String maxTime) {
        this.maxTime = maxTime;
    }

    public String getMinTime() {
        return minTime;
    }

    public void setMinTime(String minTime) {
        this.minTime = minTime;
    }
    public int getAnswerState() {
        return answerState;
    }

    public void setAnswerState(int answerState) {
        this.answerState = answerState;
    }

    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }

    public String getAnswerContent() {
        return answerContent;
    }

    public void setAnswerContent(String answerContent) {
        this.answerContent = answerContent;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getReplyname() {
        return replyname;
    }

    public void setReplyname(String replyname) {
        this.replyname = replyname;
    }

    public String getTkName() {
        return tkName;
    }

    public void setTkName(String tkName) {
        this.tkName = tkName;
    }

    public void setAnswerId(String answerId)
    {
        this.answerId = answerId;
    }

    public String getAnswerId() 
    {
        return answerId;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setTkId(String tkId) 
    {
        this.tkId = tkId;
    }

    public String getTkId() 
    {
        return tkId;
    }
    public void setAnswerTime(Date answerTime)
    {
        this.answerTime = answerTime;
    }

    public Date getAnswerTime()
    {
        return answerTime;
    }
    public void setReplyId(String replyId) 
    {
        this.replyId = replyId;
    }

    public String getReplyId() 
    {
        return replyId;
    }
    public void setAnswerStr(String answerStr) 
    {
        this.answerStr = answerStr;
    }

    public String getAnswerStr() 
    {
        return answerStr;
    }
    public void setAnswerInt(Long answerInt) 
    {
        this.answerInt = answerInt;
    }

    public Long getAnswerInt() 
    {
        return answerInt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("answerId", getAnswerId())
            .append("userId", getUserId())
            .append("tkId", getTkId())
            .append("answerTime", getAnswerTime())
            .append("replyId", getReplyId())
            .append("answerStr", getAnswerStr())
            .append("answerInt", getAnswerInt())
            .toString();
    }
}
